package com.pattern.facade;

/**
 * @author 冯志立
 * @create 2019-11-01 16:35
 */
public class TheaterLight {
    private static TheaterLight instance = new TheaterLight();

    public static TheaterLight getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("灯光打开了");
    }

    public void off() {
        System.out.println("灯光关闭了");
    }

    public void dim() {
        System.out.println("灯光调小");
    }

    public void bright() {
        System.out.println("灯光调大");
    }
}
